package ch6.ex7;

import static ch6.print.Print.*;

class A{
	A(String s){
		println("A(): " + s);
	}
}

class B {
	B(String s) {
		println("B(): " + s);
	}
}

class C extends A{
	B b;
	C(String s) {
		super(s);
		b = new B(s);
	}
}

public class SimpleInheritance {
	public static void main(String... args){
		new C("Init string");
	}
}
